(function(){
    'use strict';

    angular
        .module('blue.layout')
        .controller('NodesController', NodesController);

    function NodesController($scope, $http) {
        $scope.template = 'blue/nodes/nodes.html';
        $http.get('nodes').success(function(data){
            $scope.items=data;
        });
    }
})()
